<template>
    <div>
        <el-button style="margin-left: 30px;" plain size="small" type="primary" @click="onAdd" icon="el-icon-plus">添加语法</el-button>
    </div>
</template>

<script>
    export default{
        methods:{
            onAdd(){
                this.$emit('onAdd');
            }
        }
    }
</script>

<style scoped lang="sass">

</style>